﻿using Digitalmes.Core.Domain.SeedWork;

namespace Digitalmes.Core.Tests.Domain.Entities;

public sealed class People : EntityBase, ISoftDelete
{
    [NotNull]
    public string? Name { get; set; }

    public int Age { get; set; }

    public Gender Gender { get; set; }

    public DateTime BirthDay { get; set; }

    public string? Address { get; set; }

    public bool IsDeleted { get; set; }
}

public enum Gender
{
    Male = 1,
    Female = 2
}
